package com.retail.shopping.common.domain.request;

import java.math.BigDecimal;

/**
 * 功能描述:
 *
 * @version: java version 1.8
 * @author: liguangyao
 * @date: 2024-02-28 上午 9:40
 */

public class CartInsertRequest {
    //购物车新增需要的参数
    //用户ID
    private Integer userId;
    //商品规格ID
    private Integer skuId;
    //商品下单数量
    private Integer skuNum;
    //商品单价
    private BigDecimal cartPrice;
    //商品总价
    private BigDecimal cartTotalPrice;

    private Integer cartId;
    private Integer middenId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getSkuNum() {
        return skuNum;
    }

    public void setSkuNum(Integer skuNum) {
        this.skuNum = skuNum;
    }

    public BigDecimal getCartPrice() {
        return cartPrice;
    }

    public void setCartPrice(BigDecimal cartPrice) {
        this.cartPrice = cartPrice;
    }

    public BigDecimal getCartTotalPrice() {
        return cartTotalPrice;
    }

    public void setCartTotalPrice(BigDecimal cartTotalPrice) {
        this.cartTotalPrice = cartTotalPrice;
    }

    public Integer getCartId() {
        return cartId;
    }

    public void setCartId(Integer cartId) {
        this.cartId = cartId;
    }

    public Integer getMiddenId() {
        return middenId;
    }

    public void setMiddenId(Integer middenId) {
        this.middenId = middenId;
    }

    public CartInsertRequest() {
    }

    public CartInsertRequest(Integer userId, Integer skuId, Integer skuNum, BigDecimal cartPrice, BigDecimal cartTotalPrice, Integer cartId, Integer middenId) {
        this.userId = userId;
        this.skuId = skuId;
        this.skuNum = skuNum;
        this.cartPrice = cartPrice;
        this.cartTotalPrice = cartTotalPrice;
        this.cartId = cartId;
        this.middenId = middenId;
    }
}
